<!DOCTYPE html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="utf-8"/>
    <title>厅干部平时考核管理系统</title>
    <link rel="stylesheet" type="text/css" href="<c:url value='/resource/jxkh/css/main.css'/>"/>
    <script type="text/javascript" src="<c:url value='/resource/jxkh/js/jquery-1.11.0.js'/>"></script>
    <!--柱状图-->
  <script type="text/javascript" src="<c:url value='/resource/jxkh/js/echarts.min.js'/>"></script>
    <script type="text/javascript" src="<c:url value='/resource/jxkh/js/index.js'/>"></script>
    <!--柱状图结束-->
<script>
    function exitSys(){
        window.location.href="<c:url value='/profile/exit.html'/>";
    }
</script>
</head>

<body>
<div class="njga">
    <!--lf-->
    <div class="njga_lf">
        <div class="njga_lf_top">
            <div class="lf_top_icon lf_top_icon1"></div>
            <div class="lf_top_icon lf_top_icon2"></div>
        </div>
        <div class="head">
            <img src="<c:url value='/resource/jxkh/images/head1.jpg'/>"/>
        </div>
        <div class="name">${_SESSION_LOGIN_USER.name}</div>
        <ul class="njga_lf_ul">
            <li>
                <div class="li_row li_row_hov1">
                    <a href="#" class="a_hov">
                        <div class="li_lf li_lf1"></div>
                        <div class="li_rt">首页</div>
                    </a>
                </div>
            </li>

            <li>
                <div class="li_row">
                    <div class="li_lf li_lf2"></div>
                    <div class="li_rt">工作纪实</div>
                </div>
                <div class="li_xl">
                    <a href="#">每日工作</a>
                    <a href="#">每周工作</a>
                    <a href="#">每月工作</a>
                    <a href="#">每季工作</a>
                    <a href="#">半年工作</a>
                    <a href="#">全年工作</a>
                </div>
            </li>


            <li>
                <div class="li_row">
                    <div class="li_lf li_lf3"></div>
                    <div class="li_rt">考核测评</div>
                </div>
                <div class="li_xl">
                    <c:if test="${ iszhz!=1||isadmin==1 }">
                        <a href="#">每月测评</a>
                    </c:if>
                    <c:if test="${iszhz==1||isadmin==1  }">
                        <a href="#">每季测评</a>
                    </c:if>
                    <c:if test="${ iszhz!=1||isadmin==1  }">
                        <a href="#">半年测评</a>
                    </c:if>
                    <c:if test="${iszhz==1||isadmin==1  }">
                        <a href="#">年度测评</a>
                    </c:if>
                </div>
            </li>
            <c:if test="${isadmin==1|| iszhz==1}">
                <li>
                    <div class="li_row">
                        <div class="li_lf li_lf4"></div>
                        <div class="li_rt">统计分析</div>
                    </div>
                    <div class="li_xl">
                        <a href="#">统计分析</a>
                    </div>
                </li>
            </c:if>
            <c:if test="${isadmin==1 }">
                <li>
                    <div class="li_row">
                        <div class="li_lf li_lf5"></div>
                        <div class="li_rt">通知通报</div>
                    </div>
                    <div class="li_xl">
                        <a href="#">通知通报</a>
                    </div>
                </li>
            </c:if>
            <c:if test="${isadmin==1 }">
                <li>
                    <div class="li_row">
                        <div class="li_lf li_lf6"></div>
                        <div class="li_rt">系统管理</div>
                    </div>
                    <div class="li_xl">
                        <a href="#">人员管理</a>
                        <a href="#">角色管理</a>
                    </div>
                </li>
            </c:if>
        </ul>
    </div>
    <!--rt-->
    <div class="njga_rt">
        <div class="njga_rt_main" id="njga_rt_main">
            <!--rt_top-->
            <div class="njga_top">
                <div class="logo">
                    <img src="<c:url value='/resource/jxkh/images/logo.png'/>"/>
                </div>
                <div class="njga_top_rt">
                    <div class="block block1">
                        <div class="block_icon"></div>
                        <div class="p_text">已签到</div>
                    </div>
                    <div class="block block2" onclick="exitSys();">
                        <div class="block_icon"></div>
                        <div class="p_text" >退出登录</div>
                    </div>
                </div>
            </div>
            <!--rt_bottom-->
            <div class="njga_bottom" id="njga_bottom">
                <div class="njga_bottom_main" id="njga_bottom_main">
                    <div class="njga_bottom_rt">
                        <!--通知通报-->
                        <div class="njga_bottom_top njga_bottom_top1">
                            <div class="index_tztb">
                                <div class="title">通知通报</div>
                                <div class="date_select">
                                    <p>当月</p>
                                    <div class="arrow"></div>
                                </div>
                                <div class="text_large">本月尚未对本部门的绩效考核指标进行评价，请尽快评价！</div>
                                <div class="date">2017-10-29</div>
                                <div class="text_small">徐州贾汪公安分局“三个全覆盖”强力三个全覆盖</div>
                                <div class="text_small">南京车管所推出驾驶人满12分学习新所推出驾驶人满12</div>
                                <div class="text_small">淮安涟水警方超前谋划防范网络诈骗谋划防范网络诈骗</div>
                            </div>
                        </div>
                        <!--考核进度-->
                        <div class="njga_bottom_bottom">
                            <div class="index_khjd">
                                <div class="title">考核进度</div>
                                <table class="khjd_tabl">
                                    <tr>
                                        <td>姓名</td>
                                        <td>进度</td>
                                    </tr>
                                    <tr>
                                        <td>程砚秋</td>
                                        <td>
                                            <span class="span1">已确认</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>应治邦</td>
                                        <td>
                                            <span class="span2">已打分</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>徐守龙</td>
                                        <td>
                                            <span class="span3">未打分</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>宗世杰</td>
                                        <td>
                                            <span class="span3">未打分</span>
                                        </td>
                                    </tr>
                                    <tr>
                                        <td>朱腾芬</td>
                                        <td>
                                            <span class="span4">未自评</span>
                                        </td>
                                    </tr>
                                </table>
                            </div>
                        </div>
                    </div>
                    <div class="njga_bottom_lf">
                        <div class="njga_bottom_lf_main" id="njga_bottom_lf_main">
                            <!-- 保存当前部门的ID，parentid（deptid） -->
                            <input type="hidden" name="parentId" id="parentId"  value="${parentId }"/>
                            <!--绩效考核-->
                            <div class="njga_bottom_top">
                                <div class="index_jxkh">
                                    <div class="index_jxkh_main" id="jxkh" style="width: 763px;height: 200px;"></div>
                                </div>
                            </div>
                            <!--考核排名-->
                            <div class="njga_bottom_bottom">
                                <div class="index_khpm">
                                    <div class="index_khpm_main">
                                        <div class="title">考核排名</div>
                                        <table class="khpm_tabl">
                                            <tr>
                                                <td>排名</td>
                                                <td>姓名</td>
                                                <td>部门</td>
                                                <td>德</td>
                                                <td>能</td>
                                                <td>勤</td>
                                                <td>绩</td>
                                                <td>廉</td>
                                                <td>总分</td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span class="span1"></span>
                                                </td>
                                                <td>程砚秋</td>
                                                <td>政治处</td>
                                                <td>20</td>
                                                <td>15</td>
                                                <td>15</td>
                                                <td>40</td>
                                                <td>10</td>
                                                <td>100</td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span class="span2"></span>
                                                </td>
                                                <td>应治邦</td>
                                                <td>人事处</td>
                                                <td>19</td>
                                                <td>14</td>
                                                <td>14</td>
                                                <td>39</td>
                                                <td>10</td>
                                                <td>96</td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span class="span3"></span>
                                                </td>
                                                <td>徐守龙</td>
                                                <td>宣传处</td>
                                                <td>19</td>
                                                <td>14</td>
                                                <td>14</td>
                                                <td>39</td>
                                                <td>9</td>
                                                <td>95</td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span>4</span>
                                                </td>
                                                <td>宗世杰</td>
                                                <td>保卫处</td>
                                                <td>18</td>
                                                <td>15</td>
                                                <td>15</td>
                                                <td>38</td>
                                                <td>8</td>
                                                <td>94</td>
                                            </tr>
                                            <tr>
                                                <td>
                                                    <span>5</span>
                                                </td>
                                                <td>朱腾芬</td>
                                                <td>治安处</td>
                                                <td>17</td>
                                                <td>13</td>
                                                <td>13</td>
                                                <td>38</td>
                                                <td>9</td>
                                                <td>90</td>
                                            </tr>
                                        </table>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>








</div>
<script type="text/javascript">
    function getContentSize() {
        var h = document.documentElement.clientHeight; //clientHeight内容可视区域的高度
        ch = h + "px";
        njgabottom = (h - 80) + "px";
        njgabottommain = (h - 124) + "px";
        document.getElementById("njga_rt_main").style.height = ch;
//        document.getElementById("njga_bottom").style.height = njgabottom;
//        var ew = document.getElementById("njga_bottom").offsetWidth; //获取id=njga_bottom现在的宽度
//        eww = (ew - 44) + "px";
//        document.getElementById("njga_bottom_main").style.height = njgabottommain;
//        document.getElementById("njga_bottom_main").style.width = eww;
//        document.getElementById("njga_bottom_lf_main").style.height = njgabottommain;
    }
    window.onload = getContentSize; //页面加载时调用getContentSize()
    window.onresize = getContentSize; //当改变窗口大小时会出发getContentSize()
    $(function () {
        $(".njga_lf_ul .li_row").click(function () {
            $(this).addClass("li_row_hov").next(".li_xl").slideToggle();
            $(this).parent("li").siblings("li").children(".li_row").removeClass("li_row_hov");
            $(this).parent("li").siblings("li").children(".li_xl").slideUp();
        });
    })
</script>
</body>

</html>